package com.qs.pojo.dto;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户地址表
 * </p>
 *
 * @author author
 * @since 2023-11-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("qs_address")
@AllArgsConstructor
@NoArgsConstructor
public class AddressDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String avatar;

    private String receiver;
    private String phone;

    private String region;

    private String detail;

    private String regionDetails;

    private Integer status;

    /**
     * 留给前端使用作标记
     */
    private boolean selected = false;
}
